\hypertarget{engine__color_8h}{\section{E\-:/!代码工厂/3\-D引擎/engine\-\_\-color.h 文件参考}
\label{engine__color_8h}\index{E\-:/!代码工厂/3\-D引擎/engine\-\_\-color.\-h@{E\-:/!代码工厂/3\-D引擎/engine\-\_\-color.\-h}}
}
\subsection*{宏定义}
\begin{DoxyCompactItemize}
\item 
\#define \hyperlink{engine__color_8h_abee588566d6ab6953d1ecc0d888918ff}{B\-L\-E\-N\-D\-\_\-\-C\-O\-L\-O\-R}(a, b)~a+b;
\end{DoxyCompactItemize}
\subsection*{函数}
\begin{DoxyCompactItemize}
\item 
const D3\-D\-X\-C\-O\-L\-O\-R \hyperlink{engine__color_8h_acdad0f54c5a2ebfb97fa1ffb335b9032}{W\-H\-I\-T\-E} (D3\-D\-C\-O\-L\-O\-R\-\_\-\-X\-R\-G\-B(255, 255, 255))
\item 
const D3\-D\-X\-C\-O\-L\-O\-R \hyperlink{engine__color_8h_a926c5046fd7bf2bdc2d3a7fdd5d2a18f}{B\-L\-A\-C\-K} (D3\-D\-C\-O\-L\-O\-R\-\_\-\-X\-R\-G\-B(0, 0, 0))
\item 
const D3\-D\-X\-C\-O\-L\-O\-R \hyperlink{engine__color_8h_abe0371a4f706945c7561d87079104f01}{R\-E\-D} (D3\-D\-C\-O\-L\-O\-R\-\_\-\-X\-R\-G\-B(255, 0, 0))
\item 
const D3\-D\-X\-C\-O\-L\-O\-R \hyperlink{engine__color_8h_a1744e98e16bf26c2d7675b6bac3d2b76}{G\-R\-E\-E\-N} (D3\-D\-C\-O\-L\-O\-R\-\_\-\-X\-R\-G\-B(0, 255, 0))
\item 
const D3\-D\-X\-C\-O\-L\-O\-R \hyperlink{engine__color_8h_ab68f28f92f00c2309454e14643f466cb}{B\-L\-U\-E} (D3\-D\-C\-O\-L\-O\-R\-\_\-\-X\-R\-G\-B(0, 0, 255))
\item 
const D3\-D\-X\-C\-O\-L\-O\-R \hyperlink{engine__color_8h_a9987af72563bba8ea2b263d5cf3454e0}{B\-L\-U\-E\-\_\-\-W\-H\-I\-T\-E} (D3\-D\-C\-O\-L\-O\-R\-\_\-\-X\-R\-G\-B(0, 255, 255))
\item 
const D3\-D\-X\-C\-O\-L\-O\-R \hyperlink{engine__color_8h_abbad178a8a9c367d3a1db23da39f5e4f}{Y\-E\-L\-L\-O\-W} (D3\-D\-C\-O\-L\-O\-R\-\_\-\-X\-R\-G\-B(255, 255, 0))
\item 
const D3\-D\-X\-C\-O\-L\-O\-R \hyperlink{engine__color_8h_aa79643a8618392a47c8edc1a379369bf}{G\-R\-A\-Y} (D3\-D\-C\-O\-L\-O\-R\-\_\-\-X\-R\-G\-B(128, 128, 128))
\end{DoxyCompactItemize}
\subsection*{变量}
\begin{DoxyCompactItemize}
\item 
const D3\-D\-C\-O\-L\-O\-R \hyperlink{engine__color_8h_a0cc879ae0afd3072af057d72c98fccfc}{L\-O\-V\-E\-\_\-\-C\-O\-L\-O\-R1\-\_\-\-B\-L\-U\-E} = D3\-D\-C\-O\-L\-O\-R\-\_\-\-X\-R\-G\-B(0,0,64)
\item 
const D3\-D\-C\-O\-L\-O\-R \hyperlink{engine__color_8h_af13f64e7f2e14170565771054cc1c708}{L\-O\-V\-E\-\_\-\-C\-O\-L\-O\-R2\-\_\-\-R\-E\-D} = D3\-D\-X\-C\-O\-L\-O\-R(0.\-5f, 0.\-075f, 0.\-075f, 1.\-0f)
\end{DoxyCompactItemize}


\subsection{宏定义说明}
\hypertarget{engine__color_8h_abee588566d6ab6953d1ecc0d888918ff}{\index{engine\-\_\-color.\-h@{engine\-\_\-color.\-h}!B\-L\-E\-N\-D\-\_\-\-C\-O\-L\-O\-R@{B\-L\-E\-N\-D\-\_\-\-C\-O\-L\-O\-R}}
\index{B\-L\-E\-N\-D\-\_\-\-C\-O\-L\-O\-R@{B\-L\-E\-N\-D\-\_\-\-C\-O\-L\-O\-R}!engine_color.h@{engine\-\_\-color.\-h}}
\subsubsection[{B\-L\-E\-N\-D\-\_\-\-C\-O\-L\-O\-R}]{\setlength{\rightskip}{0pt plus 5cm}\#define B\-L\-E\-N\-D\-\_\-\-C\-O\-L\-O\-R(
\begin{DoxyParamCaption}
\item[{}]{a, }
\item[{}]{b}
\end{DoxyParamCaption}
)~a+b;}}\label{engine__color_8h_abee588566d6ab6953d1ecc0d888918ff}


\subsection{函数说明}
\hypertarget{engine__color_8h_a926c5046fd7bf2bdc2d3a7fdd5d2a18f}{\index{engine\-\_\-color.\-h@{engine\-\_\-color.\-h}!B\-L\-A\-C\-K@{B\-L\-A\-C\-K}}
\index{B\-L\-A\-C\-K@{B\-L\-A\-C\-K}!engine_color.h@{engine\-\_\-color.\-h}}
\subsubsection[{B\-L\-A\-C\-K}]{\setlength{\rightskip}{0pt plus 5cm}const D3\-D\-X\-C\-O\-L\-O\-R B\-L\-A\-C\-K (
\begin{DoxyParamCaption}
\item[{D3\-D\-C\-O\-L\-O\-R\-\_\-\-X\-R\-G\-B(0, 0, 0)}]{}
\end{DoxyParamCaption}
)}}\label{engine__color_8h_a926c5046fd7bf2bdc2d3a7fdd5d2a18f}
\hypertarget{engine__color_8h_ab68f28f92f00c2309454e14643f466cb}{\index{engine\-\_\-color.\-h@{engine\-\_\-color.\-h}!B\-L\-U\-E@{B\-L\-U\-E}}
\index{B\-L\-U\-E@{B\-L\-U\-E}!engine_color.h@{engine\-\_\-color.\-h}}
\subsubsection[{B\-L\-U\-E}]{\setlength{\rightskip}{0pt plus 5cm}const D3\-D\-X\-C\-O\-L\-O\-R B\-L\-U\-E (
\begin{DoxyParamCaption}
\item[{D3\-D\-C\-O\-L\-O\-R\-\_\-\-X\-R\-G\-B(0, 0, 255)}]{}
\end{DoxyParamCaption}
)}}\label{engine__color_8h_ab68f28f92f00c2309454e14643f466cb}
\hypertarget{engine__color_8h_a9987af72563bba8ea2b263d5cf3454e0}{\index{engine\-\_\-color.\-h@{engine\-\_\-color.\-h}!B\-L\-U\-E\-\_\-\-W\-H\-I\-T\-E@{B\-L\-U\-E\-\_\-\-W\-H\-I\-T\-E}}
\index{B\-L\-U\-E\-\_\-\-W\-H\-I\-T\-E@{B\-L\-U\-E\-\_\-\-W\-H\-I\-T\-E}!engine_color.h@{engine\-\_\-color.\-h}}
\subsubsection[{B\-L\-U\-E\-\_\-\-W\-H\-I\-T\-E}]{\setlength{\rightskip}{0pt plus 5cm}const D3\-D\-X\-C\-O\-L\-O\-R B\-L\-U\-E\-\_\-\-W\-H\-I\-T\-E (
\begin{DoxyParamCaption}
\item[{D3\-D\-C\-O\-L\-O\-R\-\_\-\-X\-R\-G\-B(0, 255, 255)}]{}
\end{DoxyParamCaption}
)}}\label{engine__color_8h_a9987af72563bba8ea2b263d5cf3454e0}
\hypertarget{engine__color_8h_aa79643a8618392a47c8edc1a379369bf}{\index{engine\-\_\-color.\-h@{engine\-\_\-color.\-h}!G\-R\-A\-Y@{G\-R\-A\-Y}}
\index{G\-R\-A\-Y@{G\-R\-A\-Y}!engine_color.h@{engine\-\_\-color.\-h}}
\subsubsection[{G\-R\-A\-Y}]{\setlength{\rightskip}{0pt plus 5cm}const D3\-D\-X\-C\-O\-L\-O\-R G\-R\-A\-Y (
\begin{DoxyParamCaption}
\item[{D3\-D\-C\-O\-L\-O\-R\-\_\-\-X\-R\-G\-B(128, 128, 128)}]{}
\end{DoxyParamCaption}
)}}\label{engine__color_8h_aa79643a8618392a47c8edc1a379369bf}
\hypertarget{engine__color_8h_a1744e98e16bf26c2d7675b6bac3d2b76}{\index{engine\-\_\-color.\-h@{engine\-\_\-color.\-h}!G\-R\-E\-E\-N@{G\-R\-E\-E\-N}}
\index{G\-R\-E\-E\-N@{G\-R\-E\-E\-N}!engine_color.h@{engine\-\_\-color.\-h}}
\subsubsection[{G\-R\-E\-E\-N}]{\setlength{\rightskip}{0pt plus 5cm}const D3\-D\-X\-C\-O\-L\-O\-R G\-R\-E\-E\-N (
\begin{DoxyParamCaption}
\item[{D3\-D\-C\-O\-L\-O\-R\-\_\-\-X\-R\-G\-B(0, 255, 0)}]{}
\end{DoxyParamCaption}
)}}\label{engine__color_8h_a1744e98e16bf26c2d7675b6bac3d2b76}
\hypertarget{engine__color_8h_abe0371a4f706945c7561d87079104f01}{\index{engine\-\_\-color.\-h@{engine\-\_\-color.\-h}!R\-E\-D@{R\-E\-D}}
\index{R\-E\-D@{R\-E\-D}!engine_color.h@{engine\-\_\-color.\-h}}
\subsubsection[{R\-E\-D}]{\setlength{\rightskip}{0pt plus 5cm}const D3\-D\-X\-C\-O\-L\-O\-R R\-E\-D (
\begin{DoxyParamCaption}
\item[{D3\-D\-C\-O\-L\-O\-R\-\_\-\-X\-R\-G\-B(255, 0, 0)}]{}
\end{DoxyParamCaption}
)}}\label{engine__color_8h_abe0371a4f706945c7561d87079104f01}
\hypertarget{engine__color_8h_acdad0f54c5a2ebfb97fa1ffb335b9032}{\index{engine\-\_\-color.\-h@{engine\-\_\-color.\-h}!W\-H\-I\-T\-E@{W\-H\-I\-T\-E}}
\index{W\-H\-I\-T\-E@{W\-H\-I\-T\-E}!engine_color.h@{engine\-\_\-color.\-h}}
\subsubsection[{W\-H\-I\-T\-E}]{\setlength{\rightskip}{0pt plus 5cm}const D3\-D\-X\-C\-O\-L\-O\-R W\-H\-I\-T\-E (
\begin{DoxyParamCaption}
\item[{D3\-D\-C\-O\-L\-O\-R\-\_\-\-X\-R\-G\-B(255, 255, 255)}]{}
\end{DoxyParamCaption}
)}}\label{engine__color_8h_acdad0f54c5a2ebfb97fa1ffb335b9032}

\begin{DoxyItemize}
\item 注意用$\ast$的时候，alpha也会跟着变化的 
\end{DoxyItemize}\hypertarget{engine__color_8h_abbad178a8a9c367d3a1db23da39f5e4f}{\index{engine\-\_\-color.\-h@{engine\-\_\-color.\-h}!Y\-E\-L\-L\-O\-W@{Y\-E\-L\-L\-O\-W}}
\index{Y\-E\-L\-L\-O\-W@{Y\-E\-L\-L\-O\-W}!engine_color.h@{engine\-\_\-color.\-h}}
\subsubsection[{Y\-E\-L\-L\-O\-W}]{\setlength{\rightskip}{0pt plus 5cm}const D3\-D\-X\-C\-O\-L\-O\-R Y\-E\-L\-L\-O\-W (
\begin{DoxyParamCaption}
\item[{D3\-D\-C\-O\-L\-O\-R\-\_\-\-X\-R\-G\-B(255, 255, 0)}]{}
\end{DoxyParamCaption}
)}}\label{engine__color_8h_abbad178a8a9c367d3a1db23da39f5e4f}


\subsection{变量说明}
\hypertarget{engine__color_8h_a0cc879ae0afd3072af057d72c98fccfc}{\index{engine\-\_\-color.\-h@{engine\-\_\-color.\-h}!L\-O\-V\-E\-\_\-\-C\-O\-L\-O\-R1\-\_\-\-B\-L\-U\-E@{L\-O\-V\-E\-\_\-\-C\-O\-L\-O\-R1\-\_\-\-B\-L\-U\-E}}
\index{L\-O\-V\-E\-\_\-\-C\-O\-L\-O\-R1\-\_\-\-B\-L\-U\-E@{L\-O\-V\-E\-\_\-\-C\-O\-L\-O\-R1\-\_\-\-B\-L\-U\-E}!engine_color.h@{engine\-\_\-color.\-h}}
\subsubsection[{L\-O\-V\-E\-\_\-\-C\-O\-L\-O\-R1\-\_\-\-B\-L\-U\-E}]{\setlength{\rightskip}{0pt plus 5cm}const D3\-D\-C\-O\-L\-O\-R L\-O\-V\-E\-\_\-\-C\-O\-L\-O\-R1\-\_\-\-B\-L\-U\-E = D3\-D\-C\-O\-L\-O\-R\-\_\-\-X\-R\-G\-B(0,0,64)}}\label{engine__color_8h_a0cc879ae0afd3072af057d72c98fccfc}
\hypertarget{engine__color_8h_af13f64e7f2e14170565771054cc1c708}{\index{engine\-\_\-color.\-h@{engine\-\_\-color.\-h}!L\-O\-V\-E\-\_\-\-C\-O\-L\-O\-R2\-\_\-\-R\-E\-D@{L\-O\-V\-E\-\_\-\-C\-O\-L\-O\-R2\-\_\-\-R\-E\-D}}
\index{L\-O\-V\-E\-\_\-\-C\-O\-L\-O\-R2\-\_\-\-R\-E\-D@{L\-O\-V\-E\-\_\-\-C\-O\-L\-O\-R2\-\_\-\-R\-E\-D}!engine_color.h@{engine\-\_\-color.\-h}}
\subsubsection[{L\-O\-V\-E\-\_\-\-C\-O\-L\-O\-R2\-\_\-\-R\-E\-D}]{\setlength{\rightskip}{0pt plus 5cm}const D3\-D\-C\-O\-L\-O\-R L\-O\-V\-E\-\_\-\-C\-O\-L\-O\-R2\-\_\-\-R\-E\-D = D3\-D\-X\-C\-O\-L\-O\-R(0.\-5f, 0.\-075f, 0.\-075f, 1.\-0f)}}\label{engine__color_8h_af13f64e7f2e14170565771054cc1c708}
